Skip to main content

IChronologicalWorkQueue<T>

Assembly: ServiceStack.Redis.dll​
View Source​
Declaration
public interface IChronologicalWorkQueue<T> : IDisposable where T : class

Methods​

Enqueue(String, T, Double)​

View Source​
Declaration
void Enqueue(string workItemId, T workItem, double time)
Parameters​
TypeName
System.StringworkItemId
<T>workItem
System.Doubletime

Dequeue(Double, Double, Int32)​

View Source​
Declaration
IList<KeyValuePair<string, T>> Dequeue(double minTime, double maxTime, int maxBatchSize)
Returns​

System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<System.String,<T>>>

Parameters​
TypeName
System.DoubleminTime
System.DoublemaxTime
System.Int32maxBatchSize